#pragma once
#include "EpilStatementCodeBase.h"
#include "EpilExpressionCodeBase.h"


class EpilReturnStatementCode : public EpilStatementCodeBase
{
	EPIL_CODE_DECL( ReturnStatement );

public:
	EpilReturnStatementCode( const EpilLexLocation & location );
	virtual ~EpilReturnStatementCode();

	EpilExpressionCodeList &			GetExpressions()													{ return m_expressions; }
	const EpilExpressionCodeList &		GetExpressions() const												{ return m_expressions; }
	void								SetExpressions( const EpilExpressionCodeList & expressions )		{ m_expressions = expressions; }

	virtual tstring						ToEpilCode( int indent ) const;

private:
	EpilExpressionCodeList				m_expressions;
};